package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.RegionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IRegionService {

    void saveOrUpdate(Region user);

    PageInfo query(QueryObject qo);

    List<Region> getRegionByParentId(QueryObject qo);



    void changeState(Long id, Integer state);

    List<Region> list();

    List<Region> queryForState(RegionQueryObject qo);

    List<Region> queryAllRegions();
}
